<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Io::TlsContext Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html">Io</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classAws_1_1Crt_1_1Io_1_1TlsContext-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Io::TlsContext Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="TlsOptions_8h_source.html">TlsOptions.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac859c06e8c99e5eb3fca620d1b6b6c58"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#ac859c06e8c99e5eb3fca620d1b6b6c58">TlsContext</a> () noexcept</td></tr>
<tr class="separator:ac859c06e8c99e5eb3fca620d1b6b6c58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae10b1b301bad148e9b8c2f769c6b7ed2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#ae10b1b301bad148e9b8c2f769c6b7ed2">TlsContext</a> (<a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContextOptions.html">TlsContextOptions</a> &amp;options, <a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a0e6e89d764e66080a9abd0513079d1b8">TlsMode</a> mode, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>) noexcept</td></tr>
<tr class="separator:ae10b1b301bad148e9b8c2f769c6b7ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78edf7b804187cc05a594db4a577050b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#a78edf7b804187cc05a594db4a577050b">~TlsContext</a> ()=default</td></tr>
<tr class="separator:a78edf7b804187cc05a594db4a577050b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affec6fc99388b77764586ff797bc51c7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#affec6fc99388b77764586ff797bc51c7">TlsContext</a> (const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;) noexcept=default</td></tr>
<tr class="separator:affec6fc99388b77764586ff797bc51c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc14c6b5e766f2bbe96470afe1757c5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#adc14c6b5e766f2bbe96470afe1757c5a">operator=</a> (const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;) noexcept=default</td></tr>
<tr class="separator:adc14c6b5e766f2bbe96470afe1757c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39a97f44600ec3b629542ef563ef000c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#a39a97f44600ec3b629542ef563ef000c">TlsContext</a> (<a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&amp;) noexcept=default</td></tr>
<tr class="separator:a39a97f44600ec3b629542ef563ef000c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3679336d74e787c14da09a03627d1df8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#a3679336d74e787c14da09a03627d1df8">operator=</a> (<a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&amp;) noexcept=default</td></tr>
<tr class="separator:a3679336d74e787c14da09a03627d1df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23c38bfd7c9c2fc94aa269ae66d18387"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#a23c38bfd7c9c2fc94aa269ae66d18387">NewConnectionOptions</a> () const noexcept</td></tr>
<tr class="separator:a23c38bfd7c9c2fc94aa269ae66d18387"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaec6953cf4499ebe15cf0bbaa9c4c0c3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#aaec6953cf4499ebe15cf0bbaa9c4c0c3">operator bool</a> () const noexcept</td></tr>
<tr class="separator:aaec6953cf4499ebe15cf0bbaa9c4c0c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79dbd7c5a40df71d8d16bc3deed52841"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html#a79dbd7c5a40df71d8d16bc3deed52841">GetInitializationError</a> () const noexcept</td></tr>
<tr class="separator:a79dbd7c5a40df71d8d16bc3deed52841"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac859c06e8c99e5eb3fca620d1b6b6c58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac859c06e8c99e5eb3fca620d1b6b6c58">&#9670;&nbsp;</a></span>TlsContext() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsContext::TlsContext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae10b1b301bad148e9b8c2f769c6b7ed2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae10b1b301bad148e9b8c2f769c6b7ed2">&#9670;&nbsp;</a></span>TlsContext() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsContext::TlsContext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContextOptions.html">TlsContextOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a0e6e89d764e66080a9abd0513079d1b8">TlsMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a78edf7b804187cc05a594db4a577050b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78edf7b804187cc05a594db4a577050b">&#9670;&nbsp;</a></span>~TlsContext()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsContext::~TlsContext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="affec6fc99388b77764586ff797bc51c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affec6fc99388b77764586ff797bc51c7">&#9670;&nbsp;</a></span>TlsContext() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsContext::TlsContext </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a39a97f44600ec3b629542ef563ef000c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39a97f44600ec3b629542ef563ef000c">&#9670;&nbsp;</a></span>TlsContext() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsContext::TlsContext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a79dbd7c5a40df71d8d16bc3deed52841"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79dbd7c5a40df71d8d16bc3deed52841">&#9670;&nbsp;</a></span>GetInitializationError()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Aws::Crt::Io::TlsContext::GetInitializationError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the value of the last aws error encountered by operations on this instance. </dd></dl>

</div>
</div>
<a id="a23c38bfd7c9c2fc94aa269ae66d18387"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23c38bfd7c9c2fc94aa269ae66d18387">&#9670;&nbsp;</a></span>NewConnectionOptions()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> Aws::Crt::Io::TlsContext::NewConnectionOptions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aaec6953cf4499ebe15cf0bbaa9c4c0c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaec6953cf4499ebe15cf0bbaa9c4c0c3">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsContext::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true if the instance is in a valid state, false otherwise. </dd></dl>

</div>
</div>
<a id="adc14c6b5e766f2bbe96470afe1757c5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc14c6b5e766f2bbe96470afe1757c5a">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a>&amp; Aws::Crt::Io::TlsContext::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3679336d74e787c14da09a03627d1df8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3679336d74e787c14da09a03627d1df8">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a>&amp; Aws::Crt::Io::TlsContext::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/io/<a class="el" href="TlsOptions_8h_source.html">TlsOptions.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/io/<a class="el" href="TlsOptions_8cpp.html">TlsOptions.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
